package ner;

public enum Case {

	NOMINATIVE,GENITIVE,DATIVE,ACCUSATIVE,INSTRUMENTAL,LOCATIVE,VOCATIVE;

	
	public static Case getById(int id){
		
		switch(id%7){
			case 1:
				return NOMINATIVE;
			case 2:
				return GENITIVE;
			case 3:
				return DATIVE;
			case 4:
				return ACCUSATIVE;
			case 5:
				return INSTRUMENTAL;
			case 6:
				return LOCATIVE;
			case 0:
				return VOCATIVE;			
		}
		return null;
		
	}
	
}
